package org.example.course.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.commonapi.domain.StudentTest;
import org.example.course.service.StudentTestService;
import org.example.commonapi.mapper.StudentTestMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author DELL
* @description 针对表【student_test(学生章节测试)】的数据库操作Service实现
* @createDate 2024-08-09 17:25:46
*/
@Service
public class StudentTestServiceImpl extends ServiceImpl<StudentTestMapper, StudentTest>
    implements StudentTestService{

    @Resource
    StudentTestMapper studentTestMapper;

    @Override
    public List<StudentTest> listIsSubmit(Long courseId, Long id) {
        return studentTestMapper.listSubmit(courseId,id);
    }
}




